
import {
  BasicLayout,
  RouteView,
  PageView,
  UserLayout,
} from '@/layouts';

export default {
  //
  path: '/Root',
  name: 'Root',
  component: PageView,
  meta: {
    title: '权限管理',
    icon: 'lock',
    keepAlive: false,
  },
  redirect: '/RoleList',
  // hideChildrenInMenu: true,
  children: [
    {
      path: '/RoleList',
      name: 'RoleList',
      component: resolve => require(['@/views/Root/Role.vue'], resolve),
      meta: {
        title: '角色管理',
        icon: 'user-add',
        keepAlive: false
      },
    },
    {
      path: '/NodeList',
      name: 'NodeList',
      component: resolve => require(['@/views/Root/Node.vue'], resolve),
      meta: {
        title: '节点管理',
        icon: 'fork',
        keepAlive: false
      },
    },
  ],
};
